try {
	Type.registerNamespace('TransOutVO');
	
	//调拨应发出库VO
	TransOutVO = function() {};
	TransOutVO.prototype = new NCMMPubUtil.SuperVO();
	TransOutVO.PK_HEAD = {
		name: "pk_head",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.PK_ORG = {
		name: "pk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.PK_INORG = {
		name: "pk_inorg",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.PK_INORG_NAME = {
		name: "pk_inorg_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.COTHERWHID = {
		name: "cotherwhid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.COTHERWHID_NAME = {
		name: "cotherwhid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//子表
	TransOutVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.PK_ITEM = {
		name: "pk_item",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.CMATERIALVID = {
		name: "cmaterialvid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.CUNITID_CODE = {
		name: "cunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.CASTUNITID_CODE = {
		name: "castunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	
	TransOutVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	TransOutVO.NSCANEDNUM = {
		name: "nscanednum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransOutVO.NSCANEDASTNUM = {
		name: "nscanedastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};    
    
	TransOutVO.prototype.getAllAttrs = function() {
		return [TransOutVO.PK_HEAD,
			TransOutVO.PK_ORG,
			TransOutVO.VBILLCODE,
			TransOutVO.DBILLDATE,
			TransOutVO.HTS,
			TransOutVO.PK_INORG,
			TransOutVO.PK_INORG_NAME,
			TransOutVO.COTHERWHID,
			TransOutVO.COTHERWHID_NAME,
			//表体
			TransOutVO.PK_ITEM,
			TransOutVO.CROWNO,
			TransOutVO.CMATERIALVID,
			TransOutVO.MATERIALCODE,
			TransOutVO.MATERIALNAME,
			TransOutVO.MATERIALSPEC,
			TransOutVO.MATERIALTYPE,
			TransOutVO.MATERIALSHORTNAME,
			TransOutVO.CUNITID,
			TransOutVO.CUNITID_CODE,
			TransOutVO.CUNITID_NAME,
			TransOutVO.CASTUNITID,
			TransOutVO.CASTUNITID_CODE,
			TransOutVO.CASTUNITID_NAME,
			TransOutVO.VCHANGERATE,
			TransOutVO.NNUM,
			TransOutVO.NASTNUM,
			TransOutVO.VBATCHCODE,
			TransOutVO.BTS,
			TransOutVO.NSCANEDNUM,
			TransOutVO.NSCANEDASTNUM
			];
	};
	TransOutVO.prototype.getTableName = function() {
		return "ic_TransOut";
	};
	TransOutVO.prototype.getPrimaryAttr = function() {
		return TransOutVO.PK_ITEM;
	};
} catch(e) {
	$e(e);
}